package cn.iocoder.yudao.module.trade.convert.fruitcard;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardCreateReqVO;
import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardExcelVO;
import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardRespVO;
import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardUpdateReqVO;
import cn.iocoder.yudao.module.trade.dal.mysql.fruitcard.FruitCardDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 水果卡 Convert
 *
 * @author 管理员
 */
@Mapper
public interface FruitCardConvert {

    FruitCardConvert INSTANCE = Mappers.getMapper(FruitCardConvert.class);

    FruitCardDO convert(FruitCardCreateReqVO bean);

    FruitCardDO convert(FruitCardUpdateReqVO bean);

    FruitCardRespVO convert(FruitCardDO bean);

    List<FruitCardRespVO> convertList(List<FruitCardDO> list);

    PageResult<FruitCardRespVO> convertPage(PageResult<FruitCardDO> page);

    List<FruitCardExcelVO> convertList02(List<FruitCardDO> list);

}
